/*
* @Date: 2021/3/4
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/
import React from 'react';
import ReactDOM from 'react-dom';
import './index.scss';
import '@/styles/fonts/iconfont';
import './XUE';
import Form from './Form';

import description from '@/description';
import {
  Row,
  Col,
  Button,
  AutoComplete,
  Cascader,
  Checkbox,
  DatePicker,
  Input,
  InputNumber,
  Radio,
  Rate,
  Select,
  Slider,
  Switch,
  TimePicker,
  Transfer,
  TreeSelect,
  Upload
} from 'antd';

window.descriptions = description;
window.components = {
  Row,
  Col,
  Button,
  AutoComplete,
  Cascader,
  Checkbox,
  DatePicker,
  Input,
  InputNumber,
  Radio,
  Rate,
  Select,
  Slider,
  Switch,
  TimePicker,
  Transfer,
  TreeSelect,
  Upload
};

ReactDOM.render(<Form />, document.getElementById('root'));
